package com.example.shop_2304.adapter

import com.flyco.tablayout.listener.CustomTabEntity

/**
 * commontablayout中的实体类
 */
data class MyTabEntity(
    var title:String,
    var selectedIcon:Int,
    var unSelectIcon:Int
):CustomTabEntity {
    override fun getTabTitle(): String {
       return title
    }

    override fun getTabSelectedIcon(): Int {
        return selectedIcon
    }

    override fun getTabUnselectedIcon(): Int {
        return unSelectIcon
    }
}
